package fire.and.near.challenger.database;

public enum ChallengeStatus {

	IN_DATABASE(1), IN_MY_CHALLENGES(2), PENDING_FOR_FACEBOOK(3), IN_HISTORY(4), PENDING_FOR_SERVER(
			5);

	private int status = 0;

	private ChallengeStatus(int status) {
		this.status = status;
	}

	public int asInt() {
		return this.status;
	}

	public void setStatus(ChallengeStatus status) {
		this.status = status.asInt();
	}
}
